package com.qf.listener;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = "testQueue5")
public class Listener5 {
    @RabbitHandler
    public void dirccet(String str){
        System.out.println("==========="+str);
    }
}
